package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.pojo.CerSysteminitImportInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface CerSysteminitImportInfoService {

    Map<String, Object> listAllTableData(PageData pageData);

    JsonObj batchDeletion(PageData pageData);

    JsonObj oneClickDelete(PageData pageData);

    List<CerSysteminitImportInfo> getAllNoErrorData(PageData pageData);

    void updateCerSysteminitImportInfoStatus(PageData pageData);

    List<LinkedHashMap<String, Object>> queryAllExportDataBy(PageData pageData);

    JsonObj importGJCerSystemDataInit(MultipartFile file, HttpServletResponse response, String userId);

    JsonObj importGJCerSystemDataInitOfficial(MultipartFile file, HttpServletResponse response, String userId);

    JsonObj importGJCerDetailData(MultipartFile file, HttpServletResponse response, String userId);

    JsonObj importGJCerDetailOfficial(MultipartFile file, HttpServletResponse response, String userId);

    void exportInitForGJMode(PageData pageData,HttpServletResponse response);

    void setCommonExportData(List<LinkedHashMap<String, Object>> list);
}
